home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / glibc-1.09 / glibc-1 / glibc-1.09.1 / sysdeps / stub / udiv_qrnnd.c < prev    next >
Encoding:
Text File  |  1994-07-18  |  560 b   |  11 lines

  1. /* For some machines GNU MP needs to define an auxiliary function:
  2.  
  3.    udiv_qrnnd (quotient, remainder, high_numerator, low_numerator, denominator)
  4.  
  5.    Divides a two-word unsigned integer, composed by the integers
  6.    HIGH_NUMERATOR and LOW_NUMERATOR, by DENOMINATOR and places the quotient
  7.    in QUOTIENT and the remainder in REMAINDER.  HIGH_NUMERATOR must be less
  8.    than DENOMINATOR for correct operation.  If, in addition, the most
  9.    significant bit of DENOMINATOR must be 1, then the pre-processor symbol
  10.    UDIV_NEEDS_NORMALIZATION is defined to 1.  */
  11.